import request from '../utils/request';
import { AxiosRequestConfig } from 'axios'
export const GetPlayerList =(urlParams: any): Promise<unknown> => {
    return request({
        url:'/fm/api/player/list',
        method: 'get',
        params:urlParams,
    });
};
export const GetApprovePlayerList =(urlParams: any): Promise<unknown> => {
    return request({
        url:'/fm/api/player/approvePlayer',
        method: 'get',
        params:urlParams,
    });
};
export const GetPlayerSeason =(urlParams: any): Promise<unknown> => {
    return request({
        url:'/fm/api/pubg/userseason',
        method: 'get',
        timeout:  600 * 1000,
        params:urlParams,
    });
};
export const GetPlayerExp =(urlParams: any): Promise<unknown> => {
    return request({
        url:'/fm/api/pubg/userexp',
        method: 'get',
        timeout:  600 * 1000,
        params:urlParams,
    });
};
export const ApprovePlayer =(urlParams: any): Promise<unknown> => {
    return request({
        url:'/fm/api/player/approve',
        method: 'post',
        data:urlParams,
    });
};
export const ExpoetApprovePlayList =(urlParams: any): Promise<unknown> => {
    return request({
        url:'/fm/api/player/expoetApprovePlayList',
        method: 'get',
        timeout:  600 * 1000,
        params:urlParams,
    });
};